/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.ziyun.erp.modules.order.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 收款单 工具类
 * @author guizhao
 * @date 2017年12月5日 上午10:17:38
 */
public class UserPaymentUtils extends Thread{
	protected static Logger logger = LoggerFactory.getLogger(UserPaymentUtils.class);
	
	/*public static void main(String[] args) {
		getPaymentsId();
	}*/
	
	/**  
	 * 生成售后订单编号  
	 * @return  
	 */    
	public static String getPaymentsId() {
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyMMddHHmm");
		String payMentsId = "88"+dateFormat.format(new Date()) + (int) (Math.random() * 1000000);
		logger.info("支付单号："+payMentsId);
		return payMentsId;
	}
}